Platform Explorer / Nuxeo Platform 2023.6

Contribution org.nuxeo.ecm.platform.picture.binary.metadata.contrib--metadataMappings

This contribution is part of XML component org.nuxeo.ecm.platform.picture.binary.metadata.contrib inside nuxeo-platform-imaging-core-2023.6.12.jar /OSGI-INF/picture-metadata-contrib.xml

Extension Point

Extension point metadataMappings of component metadata.

Registration Order

0
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <metadataMapping blobXPath="file:content" id="EXIF" ignorePrefix="false" processor="exifTool">
          <metadata name="EXIF:ImageDescription" xpath="imd:image_description"/>
          <metadata name="EXIF:UserComment" xpath="imd:user_comment"/>
          <metadata name="EXIF:Equipment" xpath="imd:equipment"/>
          <metadata name="EXIF:DateTimeOriginal" xpath="imd:date_time_original"/>
          <metadata name="EXIF:XResolution" xpath="imd:xresolution"/>
          <metadata name="EXIF:YResolution" xpath="imd:yresolution"/>
          <metadata name="EXIF:PixelXDimension" xpath="imd:pixel_xdimension"/>
          <metadata name="EXIF:PixelYDimension" xpath="imd:pixel_ydimension"/>
          <metadata name="EXIF:Copyright" xpath="imd:copyright"/>
          <metadata name="EXIF:ExposureTime" xpath="imd:exposure_time"/>
          <metadata name="EXIF:ISO" xpath="imd:iso_speed_ratings"/>
          <metadata name="EXIF:FocalLength" xpath="imd:focalLength"/>
          <metadata name="EXIF:ColorSpace" xpath="imd:color_space"/>
          <metadata name="EXIF:WhiteBalance" xpath="imd:white_balance"/>
          <metadata name="EXIF:IccProfile" xpath="imd:icc_profile"/>
          <metadata name="EXIF:Orientation" xpath="imd:orientation"/>
          <metadata name="EXIF:FNumber" xpath="imd:fnumber"/>
        </metadataMapping>
  • <metadataMapping blobXPath="file:content" id="IPTC" ignorePrefix="false" processor="exifTool">
          <metadata name="IPTC:Source" xpath="dc:source"/>
          <metadata name="IPTC:CopyrightNotice" xpath="dc:rights"/>
          <metadata name="IPTC:Caption-Abstract" xpath="dc:description"/>
        </metadataMapping>

XML Source

<extension point="metadataMappings" target="org.nuxeo.binary.metadata">
    <metadataMapping blobXPath="file:content" id="EXIF" ignorePrefix="false" processor="exifTool">
      <metadata name="EXIF:ImageDescription" xpath="imd:image_description"/>
      <metadata name="EXIF:UserComment" xpath="imd:user_comment"/>
      <metadata name="EXIF:Equipment" xpath="imd:equipment"/>
      <metadata name="EXIF:DateTimeOriginal" xpath="imd:date_time_original"/>
      <metadata name="EXIF:XResolution" xpath="imd:xresolution"/>
      <metadata name="EXIF:YResolution" xpath="imd:yresolution"/>
      <metadata name="EXIF:PixelXDimension" xpath="imd:pixel_xdimension"/>
      <metadata name="EXIF:PixelYDimension" xpath="imd:pixel_ydimension"/>
      <metadata name="EXIF:Copyright" xpath="imd:copyright"/>
      <metadata name="EXIF:ExposureTime" xpath="imd:exposure_time"/>
      <metadata name="EXIF:ISO" xpath="imd:iso_speed_ratings"/>
      <metadata name="EXIF:FocalLength" xpath="imd:focalLength"/>
      <metadata name="EXIF:ColorSpace" xpath="imd:color_space"/>
      <metadata name="EXIF:WhiteBalance" xpath="imd:white_balance"/>
      <metadata name="EXIF:IccProfile" xpath="imd:icc_profile"/>
      <metadata name="EXIF:Orientation" xpath="imd:orientation"/>
      <metadata name="EXIF:FNumber" xpath="imd:fnumber"/>
    </metadataMapping>
    <metadataMapping blobXPath="file:content" id="IPTC" ignorePrefix="false" processor="exifTool">
      <metadata name="IPTC:Source" xpath="dc:source"/>
      <metadata name="IPTC:CopyrightNotice" xpath="dc:rights"/>
      <metadata name="IPTC:Caption-Abstract" xpath="dc:description"/>
    </metadataMapping>
  </extension>